import request from '/@/utils/request'

// 字典类型列表
export const typeLists = (params?: any) => request.get('/dict/type/lists', params);

// 添加字典类型
export const typeAdd = (params?: any) => request.post('/dict/type/add', params);

// 编辑字典类型
export const typeEdit = (params?: any) => request.post('/dict/type/edit', params);

// 删除字典类型
export const typeDelete = (params?: any) => request.delete('/dict/type/delete', params);

// 字典类型详情
export const typeDetail = (params?: any) => request.get('/dict/type/detail', params);